# from views import homeViewSet
from django.urls import path, include
from rest_framework import routers

from .views import homeViewSet, BannerListViewSet

router = routers.DefaultRouter()
router.register('', homeViewSet, basename='home')

urlpatterns = [
    path('api/home/', include(router.urls)),
    path('api/home/bannerlist/', BannerListViewSet.as_view(), name='banner'),
]
